<!DOCTYPE html>
<html>

<head>

    {include file="Public/header"}
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
<!-- 标题 -->
<div class="page-heade">
    <h2 class="title_color text-center">补货及补费中统计表</h2>
</div>
<!-- 标题 -->
<div>
    <form action=""  class="form-inline">
        <table class="row-margin-top tab-content table-bordered table" border="1">
            <tr>
                <td class="text-left">
                    <label for="" class="form-label">核销单号：</label>
                    <input type="text" class="form-control" name="sn" value="{$sn}">
                    <button class="btn btn-info query">查询</button>
                </td>
            </tr>
        </table>

        <table class="table table-striped row-margin-top table-bordered table-hover text-right bud_hei">
            <tr class="info">
                <th class="text-center">No.</th>
                <th class="text-center">核销编号</th>
                <th class="text-center">核销含税金额(元)</th>
                <th class="text-center">补货及补费中金额(元)</th>
                <th class="text-center">已支付金额(元)</th>
                <th class="text-center">未支付金额(元)</th>
            </tr>
            <tbody>
            {volist name="data" id="row" key="k"}
            <tr>
                <td class="text-center">{$k}</td>
                <td class="text-center"><a href="{:url('tihexiao/view',['id'=>$row.id])}" class="J_menuItem">{$row.sn}</a></td>
                <td class="ObjectNum">{$row.tax}</td>
                <td class="ObjectNum"><a href="{:url('xiaoshoudingdan_List',['hx_id'=>$row.id])}" class="J_menuItem">{$row.bhjbfzje}</a></td>
                <td class="ObjectNum">{$row.yzfje}</td>
                <td class="ObjectNum">{$row.wzfje}</td>
            </tr>
            {/volist}
            <tr class="trTotal1 font-bold text-right">
                <td colspan="2">合计</td>
                <td>{$t1}</td>
                <td>{$t2}</td>
                <td>{$t3}</td>
                <td>{$t4}</td>
            </tr>
            </tbody>
        </table>
        <h5 class="text-center">
            {$page}
        </h5>

    </form>
</div>
<!-- 全局js -->
{include file="Public/footer"}

<!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
<script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__STATIC__/layout/js/common.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script>
    $(document).ready(function () {
        var $ObjectNum = $(".ObjectNum");
        toNum($ObjectNum);
        var $approved = $(".approved");
        var $approvedAhref = "xiaoshoudingdan_List.html";
        toNumA($approved, $approvedAhref);
        $('#leixing').on('change',function () {
            var link = $(this).val()
            location.href = link
        })
    })
</script>
</body>

</html>
